<template>
  <div class="box">
    <img
      src="https://scpic.chinaz.net/files/pic/pic9/202003/zzpic23514.jpg"
      alt="卡哇伊"
    />
    <p>{{ title }}</p>
  </div>
</template>

<script>
export default {
  props: ["title"],
};
</script>

<style scoped>
.box {
  width: 400px;
  border: 1px solid black;
  text-align: center;
}
img {
  width: 100%;
}
</style>